package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponce;
import org.csu.mypetstore.api.entity.OrderRequest;
import org.csu.mypetstore.api.vo.OrderVO;

import java.util.List;

public interface OrderService {
    CommonResponce<OrderVO> createOrder(String username, OrderRequest orderRequest);
    CommonResponce<OrderVO> getOrder(String username, String orderId);
    CommonResponce<List<OrderVO>> getOrders(String username);
}
